#include <iostream>
using namespace std;

#include <purewell/user.hpp>
using namespace purewell;

template<typename _T>
void
dump(_T ib, _T ie)
{
	while ( ib != ie )
	{
		cerr << *ib << endl;
		++ib;
	}
}

int
main(int argc, char* argv[])
{
	PWGroup grp;
	grp.getGroup("wheel");
	dump(grp.getUsers().begin(), grp.getUsers().end());
}

